using System.Collections;
using Rdl;

namespace GTame.ReportParser
{

    public class CategoryAxisType
    {

        private GTame.ReportParser.AxisType _Axis;

        public GTame.ReportParser.AxisType Axis
        {
            get
            {
                if (_Axis == null)
                    _Axis = new GTame.ReportParser.AxisType();
                return _Axis;
            }
            set
            {
                _Axis = value;
            }
        }

        public CategoryAxisType()
        {
        }

        public Rdl.CategoryAxisType Write()
        {
            Rdl.CategoryAxisType categoryAxisType = new Rdl.CategoryAxisType();
            System.Collections.ArrayList arrayList = new System.Collections.ArrayList();
            if (_Axis != null)
                arrayList.Add(_Axis.Write());
            categoryAxisType.Items = arrayList.ToArray();
            arrayList = null;
            return categoryAxisType;
        }

    } // class CategoryAxisType

}

